package org.farm.product.application.convert;

import org.farm.product.application.dto.ProductSpuDto;
import org.farm.product.domain.bo.ProductSpuBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/4/22
 * @description
 */
@Mapper
public interface ProductSpuDtoConvert {

    ProductSpuDtoConvert INSTANCE = Mappers.getMapper(ProductSpuDtoConvert.class);

    ProductSpuBo convertDtoToBo(ProductSpuDto productSpuDto);
}
